<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
body{
	background-image:url('../images/backgrond.jpg');
}
.btn{ width:100px;
 height:30px;
 color:red;
  text-shadow: 5px 5px 5px #FF0000;
  }
h3{
 text-shadow: 5px 5px 5px #FF0000;
 color:#900000 ;
  font:italic bold 20px serif;
 
 }
fieldset{
 text-shadow: 2px 2px 2px #99FF99;
 font:italic bold 12px/30px Georgia,serif;
} 
</style>

<script type="text/javascript">
	function check(){
		var x = document.getElementById("In_loca").value;
		var y = document.getElementById("G_I_d").value;;
		var z = document.getElementById("C_i_o").value;;
		
		if(x == ""||y==""||z==""){
			alert("please check the infomation");
			return false;
		}
		else{
			return true;
		}
	}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<div id=header>
	<div class="logo_img"><img src="../images/sa_header.png" width="70" height="70"><h3>SA WESTERN REPORTING</h3></div>
 </div>
 <hr>
<div>
	<div id="page-title" class="clearfix">
 			<div class="icon_img">
  				<h3>Incident Reporting Form</h3>
				<img src="../images/nyt5.gif" width="35" height="35"> 
				<img src="../images/nyt1.gif" width="35" height="35"> 
				<img src="../images/nyt4.gif" width="35" height="35"> 
				<img src="../images/nyt7.gif" width="35" height="35">
			</div>
 	</div>  
</div>
<hr>
 <div>
	<form action="/Spring_MVC/main/insertIncident.do" onsubmit="return check()">
		<fieldset>
			<legend><h3>Roporing Incident Info:</h3></legend>
				Incident_location    <input type="text" id="In_loca" name="In_loca"/><br>
				General_incident_description:     <input type="text" id="G_I_d" name="G_I_d"/><br>
				Captured_initials_of_reporting_individual:      <input type="text" id="C_i_o" name="C_i_o"/><br>
  			<input id="login" type="submit" value="Submit" class="btn"/>
 			<input id="reset" type="reset" value="Reset" class="btn">
		</fieldset>
	</form>
	
</div>
</body>
</html>